<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="store.DataStore"%>
<%@page import="store.Order"%>
<%@page import="java.util.*"%>
<%
request.setCharacterEncoding("UTF-8");
response.setContentType("text/html;charset=UTF-8");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<a href="addorder.jsp">增加缴费信息</a>&nbsp;&nbsp;&nbsp;|
<a href="orderlist.jsp">缴费信息列表</a>&nbsp;&nbsp;&nbsp;|
<table border="1" width="100%"  align="center">
	<tr>
		<td>订单号</td>
		<td>订单金额</td>
		<td>学生编号</td>
		<td>是否缴费</td>
		<td>操作区</td>
	</tr>
	
	<%
		List orderList = DataStore.orderList;
		for (int i = 0; i< orderList.size();i++){
			Order order = (Order)orderList.get(i);
	%><tr>
		<td><%=order.getOrderid() %></td>
		<td><%=order.getAmount() %></td>
		<td><%=order.getGoodsID() %></td>
		<td><%=order.isFinished()?"是":"否" %></td>
		<td><a target="_blank" href="index.jsp?orderid=<%=order.getOrderid() %>">缴费</a>|修改|删除</td></tr>
	<%  } %>
	
</table>
</body>
</html>